import request from '@/utils/request'

export const inventoryList = (params) => {
    return request({
        url: '/api/admin/dp/list',
        method: 'post',
        data: params
    })
}

export const inventoryDetail = (id) => {
    return request({
        url: `/api/admin/dp/info/${id}`,
        method: 'get'
    })
}